<?php
$oldpass=$_GET['oldpass'];
$username=$_GET['username'];
include("../csdl.php");
$knoi=new csdl();
$query=$knoi->queryCsdl("select makh from login where username='$username'");
if(mysql_num_rows($query)==0)
	echo("Mật khẩu không đúng!");
else
	echo("Mật khẩu hợp lệ!");
?>